package com.shihan;

import com.shihan.service.UserServiceImpl;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @Description
 * @Author shihan
 * @Date 2020/8/9 16:24
 * @Version 1.0
 */
@SpringBootApplication
public class ServerBootstrap {

    public static void main(String[] args) throws InterruptedException {

        SpringApplication.run(ServerBootstrap.class,args);

        UserServiceImpl.startServer("127.0.0.1",9990);
    }

}
